﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SD.Libs.Navigation.Contracts;
using GalaSoft.MvvmLight;
using System.Collections.Generic;

namespace TestRunner.Base
{
    public class MyVMBase : ViewModelBase, INavigationContext
    {

        public event NavigatedToPageEventHandler Navigated;

        public void NotifyNavigated(IDictionary<string, string> queryString)
        {
            if (Navigated != null)
            {
                Navigated(this, new NavigationContextEventArgs() { QueryString = queryString });
            }
        }

    }
}
